﻿@using Competition.App.Web.ResultModels.NewsResultModels
@using Competition.App.Web.ResultModels.ProductResultModels
@{
    ViewData["Title"] = "Home Page";
}

<!--content-->
<div class="content container" id="content">
    <!--作品-->
    <div id="product" class="product col-lg-8 col-md-8 col-sm-8 col-xs-12" style="padding: 0">
        @foreach (NewsResultModel product in (List<NewsResultModel>)ViewBag.ProductList)
        {
            <div class="product_list">
                <span></span>
                <h5 onclick="javascript:window.location.href = '@Url.Action("Details","Home",new{Id=product.Id})';">@product.Title</h5>
                <p>@product.AddTime</p>
            </div>
        }

    </div>
    @*<div class="news col-lg-4 col-md-4 col-sm-4 col-xs-12" style="padding-right:0" id="news">
        <div class="news_title" id="news_title">
            <h4>项目库</h4>
            <div class="bot"></div>
        </div>
        <div class="news_content" id="news_content">
            @foreach (NewsResultModel news in (List<NewsResultModel>)ViewBag.NewsList)
            {
                <div class="news_list" onclick="javascript:window.location.href = '@Url.Action("Details","Home",new{Id=news.Id})';">
                    <span class="entry-trangle-bottom" style=""></span>
                    &ensp; &ensp;@news.Title
                </div>
            }
        </div>

    </div>*@
</div>
